@import url("articleStyle.css");

.container {
    position: relative;
    min-height: 100%;
}

.main {
    padding-bottom: 150px;
}

.main-inner {
    position: relative;
    width: 760px;
    margin: 0 auto;
}

.posts-expand {
    padding-top: 0;
    display: block;
}

.posts-expand .post {
    margin-top: 120px;
}

.posts-expand .post:first-child {
    margin-top: 0;
}

/*postheader*/
.post-header {
    display: block;
}

.posts-expand .post-title {
    position: relative;
    font-size: 26px;
    font-weight: 400;
    text-align: left;
    word-break: break-word;
}

.posts-expand .comment-expand {
    margin-left: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 400;
}

.posts-expand .post-title-link {
    display: inline-block;
    position: relative;
    color: #555;
    border-bottom: none;
    line-height: 1.2;
    vertical-align: top
}

.posts-expand .post-title-link::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #000;
    visibility: hidden;
    transform: scaleX(0);
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
    transition-delay: 0s;
}

.posts-expand .post-title-link:hover::before {
    visibility: visible;
    transform: scaleX(1);
}

.posts-expand .post-meta {
    color: #999;
}

.post-more-link a {
    padding: 0;
    font-size: 14px;
    color: #666;
    background: none;
    border: none;
    border-bottom: 2px solid #666;
    transition-property: border;
}

.post-more-link a:hover {
    color: #222;
    border-bottom-color: #222;
}

.post-time, .post-category, .post-read {
    padding: 0 5px;
}

.post-time {
    padding-right: 0;
}

.post-more-link {
    margin-top: 20px;
    text-align: left;
}

/*postbody*/
.posts-expand .post-tags {
    text-align: left;
    margin-top: 40px;
}

.posts-expand .post-tags a {
    padding: 1px 5px;
    background: #f5f5f5;
    border-bottom: none;
    display: inline-block;
    margin-right: 10px;
    font-size: 13px;
}

.posts-expand .post-tags a:hover {
    background: #ccc;
}

.posts-expand .post-nav {
    margin-top: 40px;
    overflow: hidden;
    padding: 10px;
    white-space: nowrap;
    border-top: 1px solid #eee;
}

.post-footer {
    display: block;
}

/*archives main posts-collapse*/

.page-archive .posts-collapse {
    position: relative;
    margin-left: 0;
}

.page-archive .posts-collapse::after {
    content: " ";
    position: absolute;
}

.page-archive .posts-collapse::after {
    top: 20px;
    left: 0;
    margin-left: -2px;
    width: 4px;
    height: 100%;
    background: #f5f5f5;

    z-index: -1;
}

.posts-collapse .archive-move-on {
    position: absolute;
    top: 11px;
    left: 0;
    margin-left: -6px;
    width: 10px;
    height: 10px;
    opacity: 0.5;
    background: #555;
    border: 1px solid #fff;
    border-radius: 50%;
}

.posts-collapse .archive-page-counter {
    position: relative;
    top: 3px;
    left: 20px;
}

.posts-collapse .collection-title {
    position: relative;
    margin: 60px 0;
}

.posts-collapse .collection-title h2 {
    margin-left: 20px;
}

.posts-collapse .post {
    margin: 30px 0;
}

.posts-collapse .post-header {
    position: relative;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
    transition-delay: 0s;
    transition-property: border;
    border-bottom: 1px dashed #ccc;
}

.posts-collapse .post-header::before {
    content: " ";
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    margin-left: -4px;
    background: #bbb;
    border-radius: 50%;
    border: 1px solid #fff;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
    transition-delay: 0s;
    transition-property: background;
}

.posts-collapse .post-header:hover {
    border-bottom-color: #666;
}

.posts-collapse .post-header:hover::before {
    background: #222;
}

.posts-collapse .post-title {
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
    transition-delay: 0s;
    transition-property: margin-left;
    margin-left: 60px;
    font-size: 16px;
    font-weight: normal;
    font-family: Lato, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: inherit;
}

.posts-collapse .post-header:hover .post-title{
    margin-left: 80px;
}
.posts-collapse .collection-title::before {
    content: " ";
    position: absolute;
    left: 0;
    top: 50%;
    margin-left: -4px;
    margin-top: -4px;
    width: 8px;
    height: 8px;
    background: #bbb;
    border-radius: 50%;
}

.posts-collapse .post-title a {
    color: #666;
    border-bottom: none;
}

.posts-collapse .post-meta {
    position: absolute;
    font-size: 12px;
    left: 20px;
    top: 5px;
}

/*tags */

.tag-cloud {
    text-align: center;
}

.tag-cloud a {
    display: inline-block;
    margin: 10px;
}

.tag-cloud-tags a {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px transparent;
}

.tag-cloud-tags a:hover {
    -webkit-animation-name: hvr-wobble-to-bottom-right;
    animation-name: hvr-wobble-to-bottom-right;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
}

@keyframes hvr-wobble-to-bottom-right {

    16.65% {
        -webkit-transform: translate(8px, 8px);
        transform: translate(8px, 8px);
    }
    33.3% {
        -webkit-transform: translate(-6px, -6px);
        transform: translate(-6px, -6px);
    }

    49.95% {
        -webkit-transform: translate(4px, 4px);
        transform: translate(4px, 4px);
    }

    66.6% {
        -webkit-transform: translate(-2px, -2px);
        transform: translate(-2px, -2px);
    }

    83.25% {
        -webkit-transform: translate(1px, 1px);
        transform: translate(1px, 1px);
    }

    100% {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
    }
}

/*pagination begin*/
.pagination {
    margin: 120px 0 0;
    text-align: left;
    border-top: 1px solid #eee;
    display: block;
}

.pagination .current {
    color: #fff;
    background: #ccc;
    border-top-color: #ccc;
}

.pagination .prev,
.pagination .next,
.pagination .page-number {
    display: inline-block;
    position: relative;
    top: -1px;
    margin: 0 10px;
    padding: 0 10px;
    line-height: 30px;
    border-bottom: 0;
    border-top: 1px solid #eee;
    transition-property: border-color;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
    transition-delay: 0s
}

.pagination .prev:hover,
.pagination .next:hover,
.pagination .page-number:hover {
    border-top-color: #222;
}

.pagination .space {
    padding: 0;
    margin: 0;
    display: inline-block;
    position: relative;
    top: -1px;
}

/*pagination end*/

